#ifndef CONFIGARGS_H
#define CONFIGARGS_H

#define WIDGET_H_10g 800
#define WIDGET_W_10g 1280

#define WIDGET_H_7g 600
#define WIDGET_W_7g 1024

#define WIDGET_H_7b 480
#define WIDGET_W_7b 800

#define LCDSIZE_1280x800  "1280x800"
#define LCDSIZE_1024x768  "1024x768"
#define LCDSIZE_800x600   "800x600"
#define LCDSIZE_800x480   "800x480"
#define LCDSIZE_480x272	  "480x272"

#define DEF_APP_VERSION_STR "1.2.1"


#include<QString>
#include<QLineEdit>
#include<QPainter>

extern QString g_lcdsize;
extern QString g_cmdline;

extern int  WIDGET_H_Info  ;
extern int  WIDGET_W_Info  ;
extern int  DebugOrRelease  ;

extern int int_WIDGET_H    ;
extern int TOPMARGIN     ;
extern int BOTTOMMARGIN   ;
extern int LEFTMARGIN   ;
extern int RIGHTMARGIN  ;
extern int int_WIDGET_W    ;

extern int SUBLEFTMARGIN   ;
extern int SUBTOPMARGIN    ;
extern int SUBRIGHTMARGIN   ;
extern int SUBBOTTOMMARGIN   ;
extern int SUBSPACE      ;

extern int SIDEBAR_H  ;
extern int SIDEBAR_W   ;

extern int SUBWIDGET_H   ;
extern int SUBWIDGET_W   ;
extern int SUBWIDGET_X   ;
extern int SUBWIDGET_Y   ;

extern int USERWIDGET_MARGIN   ;
extern int USERWIDGET_BLUEFRAME_W ;
extern int USERWIDGET_BLUEFRAME_H ;
extern int USERWIDGET_WHITEFRAME_W  ;
extern int USERWIDGET_WHITEFRAME_H  ;
extern int flags_dianzu;
extern   QString retmp;

extern unsigned int long long  sentcont  ;
extern unsigned int  long long receivecont  ;

extern unsigned int  long long cansentcont;
extern unsigned int  long long canreceivecont  ;
extern int IsIPaddress(QString ip);
extern int IsMACaddress(QString ip);
extern int IsNub(QString ip);

#endif // CONFIGARGS_H
